package tech.dx.springdb.service;

import tech.dx.springdb.entity.Teacher;

/**
 * @ClassName TeacherService
 * @Description TODO
 * @Author daoxuan
 * @Date 2019/4/1 10:39
 * @Version 1.0
 */
public interface TeacherService {

    Teacher add(Teacher teacher);

    Teacher update(Teacher teacher);

    Teacher getById(long id);

}
